<tal:block metal:define-macro="standard">
  <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
    <div class="content">

      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a title="${text/home_first_nav | NULL}" href="${getPath}"><img src="/assets/images/SMT_Logo_white.png" style="height:46px;" /></a>
      </div>

      <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav">
          <li><a href="${getPath}/server/liste">${text/home_second_nav | NULL}</a></li>
          <li><a href="${getPath}/vmware/liste">${text/home_third_nav | NULL}</a></li>
          <li><a href="${getPath}/inventory">${text/home_fourth_nav | NULL}</a></li>
          <li><a href="${getPath}/ticket">${text/home_six_nav | NULL}</a></li>          
          <li><a href="${getPath}/knowledge/index">${text/home_fifth_nav | NULL}</a></li>
          <li tal:condition="aSession/DNS_ALERT | NULL"><a href="${getPath}/inventory/crondns" data-toggle="tooltip" data-placement="bottom" title="${aSession/DNS_ALERT | NULL}"><img src="${getPath}/assets/icons/error.png" /></a></li>
        </ul>

        <ul tal:condition="aSession/username | NULL" class="nav navbar-nav navbar-right">
          <li class="dropdown">
            <a title="${text/nav_administration | NULL}" href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">${aSession/displayName | NULL} <span class="caret"></span></a>
            <ul class="dropdown-menu">
              <li><a href="/user/mypage">${text/structure_sub_mypage | NULL}</a></li>
              <li><a href="/user/daten">${text/structure_sub_mydata | NULL}</a></li>
              <li><a href="/ticket/user">${text/list_my_ticket | NULL}</a></li>
              <li role="separator" class="divider"></li>
              <li><a href="/user/admin_config">${text/structure_sub_config | NULL}</a></li>
              <li><a href="/user/admin_user_liste">${text/structure_sub_users | NULL}</a></li>
              <li><a href="/user/admin_texte">${text/structure_sub_text_edit | NULL}</a></li>
              <li><a href="/user/admin_news">${text/structure_sub_messages | NULL}</a></li>
              <li role="separator" class="divider"></li>
              <li><a href="/user/logout">${text/logout | NULL}</a></li>
            </ul>
          </li>
        </ul>

      </div>    

      <br />
      <span style="float:right;" tal:repeat="lang aSession/sprachen">
        <a tal:condition="php: aSession['language'] != lang['id'] | NULL" href="${getPath}${getURL}/language/${lang/id}"><img border="0" src="${getPath}/assets/icons/lang/${lang/id}.gif" /></a>&nbsp;&nbsp;
      </span>
    </div>

  </nav>
</tal:block>